    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>导航栏示例</title>
        <style>
            #nav {
                list-style: none;
                padding: 0;
                margin: 0; 
                display: flex; 
            }
            #nav li {
                margin-right: 20px; 
            }
            #nav a {
                text-decoration: none; 
                color: #333;
                padding: 5px 10px;
            }
            #nav a:hover {
                color: #197cdf; 
            }
        </style>
    </head>
    <body>
        <ul id="nav">
            <li><a href="/">首页</a></li>
            <li><a href="/java.html">java开发</a></li>
            <li><a href="#">PHP开发</a></li>
            <li><a href="#">python开发</a></li>
            <li><a href="#">前端开发</a></li>
            <li><a href="#">后端开发</a></li>
            <li><a href="#">移动开发</a></li>
            <li><a href="#">云计算</a></li>
            <li><a href="#">人工智能</a></li>
            <li><a href="#">关于我们</a></li>
        </ul>
        <ul>
            <li><a href="demo1.html">demo1</a></li>